package com.smashcrush.server.service;

import java.util.Map;

import com.smashcrush.model.BrowserType;

public interface BrowserService {

	public String openSession(String token, BrowserType browserType);

	public Map<String, String> executeScript(String token,
			BrowserType browserType, String script,
			Map<String, String> parameters);

	public Map<String, String> executeScript(String token, String sessionId,
			String script, Map<String, String> parameters);

	public Map<String, String> executeScriptByName(String token, String name,
			Map<String, String> parameters);

	public Map<String, String> executeScriptByName(String token,
			String sessionId, String name, Map<String, String> parameters);

	public void closeSession(String token, String sessionId);

}
